import axios from "./axios";

export const getTopics = (tab)=>axios.get('./topics', {params:{tab}})
export const postTopic = (data)=>axios.post('./topics', data)